home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / PickMeUp.sit / Pick Me Up / source code / Movie app source / pickmeUp97 / source / PP Basic Starter.h < prev    next >
Text File  |  1997-06-27  |  1KB  |  34 lines

  1. // ===========================================================================
  2. //    PP Basic Starter.h        ©1994-1997 Metrowerks Inc. All rights reserved.
  3. // ===========================================================================
  4.  
  5. #pragma once
  6.  
  7. #include <LApplication.h>
  8.  
  9. class CMovieWind;
  10.  
  11. class    CPPStarterApp : public LApplication {
  12. public:
  13.                         CPPStarterApp();        // constructor registers all PPobs
  14.     virtual             ~CPPStarterApp();        // stub destructor
  15.     
  16.         // this overriding function performs application functions
  17.         
  18.     virtual Boolean        ObeyCommand(CommandT inCommand, void* ioParam);    
  19.     
  20.         // this overriding function returns the status of menu items
  21.         
  22.     virtual void        FindCommandStatus(CommandT inCommand,
  23.                             Boolean &outEnabled, Boolean &outUsesMark,
  24.                             Char16 &outMark, Str255 outName);
  25.                             
  26.     virtual void        EventResume(const EventRecord&  inMacEvent);
  27.     virtual void        EventActivate(const EventRecord    &inMacEvent);
  28. protected:
  29.  
  30.     virtual void        StartUp();        // overriding startup functions
  31.     
  32.     CMovieWind*            mWindow;
  33.     Boolean                mFirstTime;
  34. };